﻿using System;

namespace Byond.Compilation
{
	class PatchCompilationInfo
	{
		public const string DynamicAssemblyCountingName = "BYOND_Dynamic_Assembly_";
		public const int CountingDigits = 8;
		
		public string CountingSuffix { get; private set; }

		public void BeginNewCompilationCycle()
		{
			CountingSuffix = Guid.NewGuid().ToString().Substring(0, CountingDigits);
		}
	}
}
